"use strict"
/** @param {import("egg").Application} app */
module.exports = app => {
	const Sequelize = app.Sequelize
	const sequelize = app.model

	let gameUserTsk = sequelize.define("gameUserTsk", {
		oid: {
			type: Sequelize.INTEGER,
			comment: " 当前用户的id",
		},
		tskId: {
			type: Sequelize.TINYINT,
			comment: " 任务的id"
		},
		state: {
			comment: " 状态, 1：完成，2:未完成，3：已领取",
			type: Sequelize.TINYINT
		}
	}, {
		createdAt: true,
		tableName: "empire_user_tsk",
		timestamps: false
	})
	return gameUserTsk
}